Fix the compatibility issue in starting E2E test environment due to the default charset change in MariaDB v11.3.1 #2272
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes proposed in this Pull Request:
MariaDB v11.3.1 introduced an issue that breaks backward compatibility for many PHP DB clients. It also affects the starting of E2E test env in this repo.
To fix it, this PR updates
@wordpress/env
to 9.4.0 to use the LTS version of MariaDB rather than the (default) latest version.Screenshots:
📷 Before
📷 After
Detailed test instructions:
📌 Check the results on GitHub Actions
📌 Local test
npm run wp-env destroy
first to ensure the incompatible database will be recreated.npm run wp-env:up
to see if the E2E test env can be started without errors.npm run test:e2e
to see if E2E tests can be run normally.npm run wp-env:down
to see if E2E test env can be stopped correctly.Changelog entry